﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Impresiones_ImprimirMasivo : System.Web.UI.Page
{
	//protected System.Web.UI.HtmlControls.HtmlGenericControl frame1;
    
    protected void Page_Load(object sender, EventArgs e)
    {
		//Response.Write("<iframe id='iframeImpresionMasiva' src='../html/impresiones/ImprimirMasivo.asp?IdSede=" + biFactory.IdSede.ToString() + "' width='100%' height='800px'></iframe>");
		//Response.Write("<script>document.getElementById('iframeImpresionMasiva').src='a.asp?IdSede=" + biFactory.IdSede.ToString() + "'</script>");
		//HtmlControl frame1 = (HtmlControl)this.FindControl("frame1"); 
		//frame1.Attributes["src"] = "../html/impresiones/ImprimirMasivo.asp?IdSede=8";
		frame1.Attributes["src"] = "../html/impresiones/ImprimirMasivo.asp?IdSede=" + biFactory.User().IdSede.ToString();
    }
}
